//
//  VisualEffectView.m
//  testpbl
//
//  Created by 黄权浩 on 15/8/21.
//  Copyright (c) 2015年 黄权浩. All rights reserved.
//

#import "VisualEffectView.h"

@implementation VisualEffectView

+ (UIVisualEffectView *)initBlurEffectView:(float)alphFloat getsize:(CGRect)rect
{
    UIBlurEffect *blur = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight];
    UIVisualEffectView *effectview = [[UIVisualEffectView alloc] initWithEffect:blur];
    effectview.frame = rect;
    effectview.alpha = alphFloat;
    return effectview;
}

@end
